const createEntry = (annotation = '', data = []) => ({
  annotation,
  data,
});

export default {
  sys_common_status: createEntry('系统通用状态', [
    { label: '启用', value: '0', isDefault: true },
    { label: '禁用', value: '1' },
  ]),
  sys_common_whether: createEntry('系统通用是否', [
    { label: '是', value: '1' },
    { label: '否', value: '0', isDefault: true },
  ]),
  sys_common_color_type: createEntry('系统通用颜色类型', [
    { label: '主色调', value: 'primary' },
    { label: '成功', value: 'success' },
    { label: '警告', value: 'warning' },
    { label: '错误', value: 'error' },
    { label: '默认', value: 'default', isDefault: true },
  ]),
};
